  -- Netherspite --
function spell0_15689(pUnit, Event) --@Empowerment,n/a--
pUnit:FullCastSpellOnTarget(38549,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15689', 3000, 1)
end
function spell1_15689(pUnit, Event) --@Nether Burn,n/a--
pUnit:FullCastSpellOnTarget(30522,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15689', 0, 1)
end
function spell2_15689(pUnit, Event) --@Nether Infusion,n/a--
pUnit:FullCastSpellOnTarget(38688,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15689', 734, 1)
end
function spell3_15689(pUnit, Event) --@Netherbreath,n/a--
pUnit:FullCastSpellOnTarget(38523,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15689', 2500, 1)
end
function spell4_15689(pUnit, Event) --@Void Zone,n/a--
pUnit:FullCastSpellOnTarget(37063,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15689', 774, 1)
end
function Sorts_15689(pUnit, Event)
choix_sorts_15689 = math.random(0, 4)
if choix_sorts_15689 == 0 then
pUnit:RegisterEvent('spell0_15689', 1, 1)
end
if choix_sorts_15689 == 1 then
pUnit:RegisterEvent('spell1_15689', 1, 1)
end
if choix_sorts_15689 == 2 then
pUnit:RegisterEvent('spell2_15689', 1, 1)
end
if choix_sorts_15689 == 3 then
pUnit:RegisterEvent('spell3_15689', 1, 1)
end
if choix_sorts_15689 == 4 then
pUnit:RegisterEvent('spell4_15689', 1, 1)
end
end
function mob15689_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15689', math.random(1500, 3000), 1)
end
function mob15689_Leave(pUnit, Event)
end
function mob15689_Kill(pUnit, Event)
end
function mob15689_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(15689, 1, 'mob15689_Action')
RegisterUnitEvent(15689, 2, 'mob15689_Leave')
RegisterUnitEvent(15689, 3, 'mob15689_Kill')
RegisterUnitEvent(15689, 4, 'mob15689_Die')
